package com.qzsoft.zhjd.materiel.modules.materielproject.service;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qzsoft.zhjd.materiel.modules.materielproject.entity.MaterielProjectItemEntity;

/**
 * @ClassName MaterielProjectItemService
 * @Description 项目材料业务接口
 * @author linhuawei
 * @since 2022-03-30
 */
public interface MaterielProjectItemService extends IService<MaterielProjectItemEntity> {

    /**
     * @Title listByProjectId
     * @Description 根据项目主键获取项目材料列表
     * @param projectId 项目主键
     * @return 项目材料列表
     */
    public List<MaterielProjectItemEntity> listByProjectId(String projectId);

    /**
     * @Title deleteByProjectId
     * @Description 删除项目下属材料信息
     * @param projectId 项目主键
     */
    public void deleteByProjectId(Serializable projectId);

}
